Skip to content

Instantly share code, notes, and snippets.

@ifindev
ifindev / CLAUDE.md
Last active March 9, 2026 07:45
CLAUDE.md with Linear & GitHub Integration

CLAUDE.md

Linear Workflow

Before starting any ticket

  1. Pull the ticket from Linear: use mcp__linear-server__get_issue with the issue ID
  2. Read comments on the immediately preceding ticket (e.g. if starting E3-003, read E3-002 comments) using mcp__linear-server__list_comments — look for handoff notes left by the previous agent
  3. Read the full description, acceptance criteria, technical notes, and API tests
  4. Set the ticket status to In Progress via mcp__linear-server__save_issue
@adhishthite
adhishthite / autoexp-generic.md
Created March 7, 2026 21:28
autoexp — Autonomous Experimentation Loop. Generalized from Karpathy's autoresearch for any quantifiable metric project.

autoexp — Autonomous Experimentation Loop

Generalized from Karpathy's autoresearch. Same loop, any domain.


The Idea

An AI agent runs an infinite hill-climbing loop: modify → run → measure → keep or revert → repeat. No human in the loop. Wake up to a TSV of completed experiments.

@rofl0r
rofl0r / init.c
Created August 6, 2013 21:15
minimal init daemon by rich felker, author of musl libc
#define _XOPEN_SOURCE 700
#include <signal.h>
#include <unistd.h>
int main()
{
sigset_t set;
int status;
if (getpid() != 1) return 1;
@xiaolai
xiaolai / markdownhere.css
Created July 2, 2016 12:12
markdown-here-css
.markdown-here-wrapper {
font-size: 16px;
line-height: 1.8em;
letter-spacing: 0.1em;
}
pre, code {
font-size: 14px;
font-family: Roboto, 'Courier New', Consolas, Inconsolata, Courier, monospace;
@steipete
steipete / TWITTER_BLOCKLIST_PUBLIC.md
Created March 9, 2026 06:13
Redacted Twitter mention blocklist policy

Twitter Mention Blocklist Policy

Public-safe version. Redacted. No handles, no links, no callouts.

Block immediately

  • Strongly derogatory replies
  • Crypto spam, token shills, wallet/contract junk
  • Clear AI slop or reply-bot behavior
  • Repetitive low-context spam
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@coodoo
coodoo / outline.md
Created March 7, 2026 01:45
「第二屆 AI 取暖會」講義文字稿。欲收到之後活動報名通知請前往此頁登記:https://forms.gle/H3Xa4fseQNoBz3qS8

/* 基礎知識 -------------------------------------------------- */

從最基本操作觀察 claude code context 運作原理

- 目地是透過觀察 claude code 背後的`交談過程`與`資料結構` 從而瞭解 context 管理的重要性

- 如何監看 tools + system prompt 改化學人家怎麼寫提示與設計工具